﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            FuJianren fuJianren = new FuJianren();
            Beijing beijing = new Beijing();
            Interface face = beijing;
            fuJianren.name = "麻拐";
            fuJianren.from = "广西";
            fuJianren.Studentnumber = 1922010110;
            fuJianren.dialect = "广西话";
            Console.WriteLine("学生名字：{0}，学生学号：{1}",fuJianren.name,fuJianren.Studentnumber);
            fuJianren.comefrom();
            fuJianren.speak();
            face.name = "挥挥手";
            face.from = "北京";
            face.Studentnumber = 1922010111;
            face.dialect = "北京话";
            Console.WriteLine("学生名字：{0}，学生学号：{1}", face.name, face.Studentnumber);
            face.comefrom();
            face.speak();
        }
    }
}
